<?php echo View::make('home.common.header'); ?>

<?php echo View::make('home.common.breadcrumb')->with("bc",$bc)->with('title',$videoInfo->title); ?>

<div class="course-detail">
    <div class="cover">
        <img src="<?php echo $videoInfo->image;?>" alt="<?php echo $videoInfo->title;?>">
    </div>
    <div class="cont">
       <h2><?php echo $videoInfo->title;?></h2>
        <p>课程价格：<strong><?php echo $videoInfo->price;?></strong><a href="#" title="1RMB。" target="_blank">元</a><i></i></p>	
        <p>课程时长：<?php echo $videoInfo->duration;?>分钟<i>|</i>开课频道：<a href="#" target="_blank">80218</a></p>
        <p>课程评价：
            <span id="courseRoundScoreAvg" class="rating-star0" title="<?php echo $score;?>分"></span> 
            <span id="courseScoreAvg"><?php echo $score;?></span>分<a href="javascript:;" id="showCommentForm2">(我要评价)</a>
        </p>
        <!--<p>开学日期：<?php echo $videoInfo->title;?><i>|</i>结束日期：2013-04-30 23:59</p>
         <p>已报名：<b><?php echo $videoInfo->viewed;?>14</b>人</p>-->
        <p>培训班型：VIP班<i>|</i>浏览次数：<?php echo $videoInfo->viewed;?>次</p>
        <div class="actions">
                <!-- share Button BEGIN -->
                
                <!-- share Button END -->
            <a href="/video?id=<?php echo $videoInfo->id;?>&uuid=<?php echo $videoInfo->file_uuid;?>">
                <button type="button" class="btn btn-warning btn-large">立即观看</button>
            </a>
            <a href="javascript:void(0)">
                <button type="button" class="btn  btn-danger btn-large">加入购物车</button>
            </a>
        </div>
    </div>
</div>

<div class="course-info">
    <div class="row-fluid">
      <div class="span9 left">
          <div class="tabbable"> <!-- Only required for left/right tabs -->
              <ul class="nav nav-tabs">
                <li><a href="#tab1" data-toggle="tab">课程详情</a></li>
                <li><a href="#tab2" data-toggle="tab">购买记录</a></li>
                <li class="active"><a href="#tab3" data-toggle="tab">评价详情</a></li>
              </ul>
              <div class="tab-content">
                <div class="tab-pane" id="tab1">
                  <p><?php echo $videoInfo->description;?></p>
                </div>
                <div class="tab-pane" id="tab2">
                  <p>购买记录</p>
                </div>
                <div class="tab-pane active" id="tab3">
                    
                    <div class="course-grade">
                        <h3>课程满意度评价</h3>
                        <div class="grade-area">
                            <dl>
                                <dt><strong id="commentAvgScore"><?php echo $score;?></strong>分</dt>
                                <dd><span id="commentRatingStar" class="rating-star0"></span><input type="hidden" id="commentSumScore" value="0"></dd>
                                <dd>共<span id="commentCount"></span>位同学参与<br>评分</dd>
                            </dl>
                            <div class="grade-show">
                                <div class="tips" id="showTips" style="left:-12px">
                                    <span id="commentAvgScore2">0.0</span>
                                    <s></s>
                                </div>
                                <ul class="grade-help">
                                    <li>1分<br>非常不满</li>
                                    <li>2分<br>不满意</li>
                                    <li>3分<br>一般</li>
                                    <li>4分<br>满意</li>
                                    <li>5分<br>非常满意</li>
                                </ul>
                            </div>
                        </div>
                        <div class="actions">
							<div class="comm">
								<textarea rows="3" style="width:600px;" name="comment" id="comment"></textarea>
							</div>
                            <p>发表体验评论赠送<b>2</b>学分</p>
                            <a id="showCommentForm" href="javascript:">
                                <button class="btn btn-primary" type="button" id="publish">发表评论</button>
                            </a>
							<p style="width:150px;"><b id="error"></b></p>
							<input type="hidden" name="video_id" value="<?php echo $video_id;?>" id="video_id"/>
                        </div>
                    </div>
                    
                </div>
              </div>
            </div>
      </div>
      <div class="span3 right">
      
          <div class="org-info">
            <a href="" class="brand-logo"><img src="/home/img/slide/tz0MDVD_PwfGvgB1AAA6Qoagjuo347.jpg" alt="爱普英语大讲堂I.P.-我预测 你高分！"></a>
            <dl>
                <dt>频道档案</dt>
                <dd>频道：<a href="">爱普英语大讲堂I.P.-我预测 你高分！</a></dd>
                <dd>课程：14</dd>
                <dd>评价：
                    <span class="rating-star4" title="4.4分"></span>
                <em>4.0</em></dd>
                <dd>联系：http://www.ipredicting.com/</dd>
            </dl>
            <div class="actions">
                <a href="http://www.yy.com/goto.html#89057965" target="_blank" class="btn-s1">
                    <button class="btn btn-info" type="button">点击进入频道</button>
                </a>
            </div>
        </div>
          
      </div>
    </div>
</div>



<?php echo View::make("home.common.footer"); ?>
